package personal.vivian.dto;

import personal.vivian.annontation.DataField;
import personal.vivian.annontation.DataModel;
import personal.vivian.annontation.Hidden;
import personal.vivian.constants.EditMode;

@DataModel
public class Request {
    @DataField(editMode =EditMode.ReadOnly)
    private String name;
    private int id;
    @DataField
    @Hidden
    private String hidefield;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getHidefield() {
        return hidefield;
    }

    public void setHidefield(String hidefield) {
        this.hidefield = hidefield;
    }
}
